const uuidv1 = require('uuid/v1');

class UUIDUtil {
    constructor() {
    }

    /**
     *
     * @param {int} amount
     * @returns {Promise<void>}
     */
    uuid(){
        let uuid = uuidv1();
        uuid = uuid.toString();
        uuid = uuid.replace(/-/g, "");
        return uuid;
    }
}


let uuidUtil = new UUIDUtil();
module.exports = uuidUtil;